package com.ruoyi.project.modules.fieldEnum.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 字段枚举对象 t_field_enum
 * 
 * @author smallrain
 * @date 2021-12-19
 */
public class FieldEnum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 枚举名称 */
    @Excel(name = "枚举名称")
    private String enumName;

    /** 枚举值 */
    @Excel(name = "枚举值")
    private String enumValue;

    /** 枚举介绍 */
    @Excel(name = "枚举介绍")
    private String description;

    /** 字段id */
    @Excel(name = "字段id")
    private Long fieldId;

    /** 状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String fieldName;

    /** 字段英文名称 */
    @Excel(name = "字段英文名称")
    private String fieldEnName;

    /** 表名称 */
    @Excel(name = "表名称")
    private String tableName;

    /** 表英文名称 */
    @Excel(name = "表英文名称")
    private String tableEnName;

    private List<Long> fieldIds;

    public List<Long> getFieldIds() {
        return fieldIds;
    }

    public void setFieldIds(List<Long> fieldIds) {
        this.fieldIds = fieldIds;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldEnName() {
        return fieldEnName;
    }

    public void setFieldEnName(String fieldEnName) {
        this.fieldEnName = fieldEnName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableEnName() {
        return tableEnName;
    }

    public void setTableEnName(String tableEnName) {
        this.tableEnName = tableEnName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEnumName(String enumName) 
    {
        this.enumName = enumName;
    }

    public String getEnumName() 
    {
        return enumName;
    }
    public void setEnumValue(String enumValue)
    {
        this.enumValue = enumValue;
    }

    public String getEnumValue()
    {
        return enumValue;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setFieldId(Long fieldId) 
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId() 
    {
        return fieldId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("enumName", getEnumName())
            .append("enumValue", getEnumValue())
            .append("description", getDescription())
            .append("fieldId", getFieldId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
